package com.qidian.buy.cms.mapper;

import com.qidian.buy.pojo.Content;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 戴着假发的程序员
 * @since 2024-07-12 10:23:40
 */
public interface ContentMapper extends BaseMapper<Content> {

    List<Content> selectPage(@Param("start") int start,@Param("limit") int limit,@Param("content") Content content);

    int selectTotal(@Param("content") Content content);

    List<Content> selectByCatMark(String catMark);

}
